local L = locale ~= "zh" and locale ~= "zhr" -- true-英文; false-中文

name = L and "[DST] Pastoral Life" or "[DST] 田园牧歌"
author = "Anonymity"
version = "0.2.1" -- 每次更新时为了上传必须更改
description =
    L and "Thanks for using this mod!\n[version]" .. version .. "\n\n*This mod is privately customized and all resources are authorized.\n*No individual or organization is allowed to reprint, modify, or publish this mod!"
    or "感谢订阅本mod！\n[版本]" .. version .. "\n\n*本mod为私人定制，所有资源均有授权。\n*禁止任何个人或组织转载、修改、发布或其他形式的侵犯本mod权益的行为！"

-- 个人网址，即使没有也必须留空
forumthread = ""

-- lua版本，单机写6，联机写10
api_version = 10

-- mod加载的优先级，不写就默认为0，越大越优先加载
priority = -90000

-- Compatible with Don't Starve Together
dst_compatible = true
dont_starve_compatible = false
reign_of_giants_compatible = false
shipwrecked_compatible = false

-- These let clients know if they need to get the mod from the Steam Workshop to join the game, Character mods need this set to true
all_clients_require_mod = true

-- This determines whether it causes a server to be marked as modded (and shows in the mod list)
client_only_mod = false

-- mod的图标
icon_atlas = "images/modicon.xml"
icon = "modicon.tex"

-- The mod's tags displayed on the server list
server_filter_tags = L and { "PASTORALLIFE" } or { "田园牧歌" }

-- mod设置
configuration_options = L and {
    {
        name = "Language",
        label = "Set Language",
        hover = "Set mod language.", -- 这个是鼠标指向选项时会显示更详细的信息
        options = {
            { description = "English", data = "english" },
            { description = "Chinese", data = "chinese" }
        },
        default = "english"
    }
} or {
    {
        name = "Language",
        label = "设置语言",
        hover = "设置mod语言。",
        options = {
            { description = "英文", data = "english" },
            { description = "中文", data = "chinese" }
        },
        default = "chinese"
    }
}
